package com.etone.smartAudit.vo.workOrder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 张任豪
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "批量反馈信息提示")
public class FeedBackVO {

    @ApiModelProperty(value="成功条数")
    private Integer success;

    @ApiModelProperty(value="失败条数")
    private Integer fail;

    @ApiModelProperty(value="反馈提示信息")
    private List<msgVO> msgList;

    @Data
    @AllArgsConstructor
    public static class msgVO{

        @ApiModelProperty(value="整改编码")
        private String code;

        @ApiModelProperty(value="错误信息")
        private String msg;

    }

}
